package com.westa.smallshop.common;

import android.support.annotation.IntDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * Created by Dune on 16/8/8.
 */
public interface LoadDataInterface {

    int DELAYED = 100;

    int LOADING = 0;

    int IMMEDIATELY = -1;

    /**
     * @hide
     */
    @IntDef({DELAYED, LOADING, IMMEDIATELY})
    @Retention(RetentionPolicy.SOURCE)
    @interface DelayTime {
    }

    void loadingData(@DelayTime int delayTime);
}
